diff options
author | Indrajith K L | 2022-12-03 17:00:20 +0530 |
---|---|---|
committer | Indrajith K L | 2022-12-03 17:00:20 +0530 |
commit | f5c4671bfbad96bf346bd7e9a21fc4317b4959df (patch) | |
tree | 2764fc62da58f2ba8da7ed341643fc359873142f /musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk | |
download | cli-tools-windows-master.tar.gz cli-tools-windows-master.tar.bz2 cli-tools-windows-master.zip |
Diffstat (limited to 'musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk')
-rw-r--r-- | musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk | 672 |
1 files changed, 672 insertions, 0 deletions
diff --git a/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk new file mode 100644 index 0000000..cd1e918 --- /dev/null +++ b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - 100% shader fractal [origami edit].milk @@ -0,0 +1,672 @@ +MILKDROP_PRESET_VERSION=201 +PSVERSION=2 +PSVERSION_WARP=2 +PSVERSION_COMP=2 +[preset00] +fRating=4.000 +fGammaAdj=1.000 +fDecay=0.500 +fVideoEchoZoom=1.030 +fVideoEchoAlpha=0.000 +nVideoEchoOrientation=0 +nWaveMode=0 +bAdditiveWaves=0 +bWaveDots=0 +bWaveThick=0 +bModWaveAlphaByVolume=0 +bMaximizeWaveColor=0 +bTexWrap=0 +bDarkenCenter=0 +bRedBlueStereo=0 +bBrighten=0 +bDarken=0 +bSolarize=0 +bInvert=0 +fWaveAlpha=0.001 +fWaveScale=0.010 +fWaveSmoothing=0.000 +fWaveParam=0.000 +fModWaveAlphaStart=1.000 +fModWaveAlphaEnd=1.000 +fWarpAnimSpeed=1.549 +fWarpScale=2.940 +fZoomExponent=0.02049 +fShader=1.000 +zoom=1.00000 +rot=0.00000 +cx=0.500 +cy=0.500 +dx=0.00000 +dy=0.00000 +warp=1.45984 +sx=1.00000 +sy=1.00000 +wave_r=0.000 +wave_g=0.000 +wave_b=0.000 +wave_x=0.500 +wave_y=0.500 +ob_size=0.005 +ob_r=0.000 +ob_g=0.000 +ob_b=0.000 +ob_a=1.000 +ib_size=0.000 +ib_r=1.000 +ib_g=1.000 +ib_b=1.000 +ib_a=1.000 +nMotionVectorsX=64.000 +nMotionVectorsY=48.000 +mv_dx=0.000 +mv_dy=0.000 +mv_l=5.000 +mv_r=1.000 +mv_g=1.000 +mv_b=1.000 +mv_a=0.000 +b1n=0.000 +b2n=0.000 +b3n=0.000 +b1x=1.000 +b2x=1.000 +b3x=1.000 +b1ed=0.000 +wavecode_0_enabled=1 +wavecode_0_samples=495 +wavecode_0_sep=4 +wavecode_0_bSpectrum=1 +wavecode_0_bUseDots=0 +wavecode_0_bDrawThick=1 +wavecode_0_bAdditive=1 +wavecode_0_scaling=100.00000 +wavecode_0_smoothing=1.00000 +wavecode_0_r=0.010 +wavecode_0_g=0.000 +wavecode_0_b=0.000 +wavecode_0_a=1.000 +wave_0_init1=t2 = 0; +wave_0_init2=t3 = 0; +wave_0_init3=t4 = 0; +wave_0_init4=ab = 1; +wave_0_per_frame1=t1 = q1; +wave_0_per_frame2=t2 = q2; +wave_0_per_frame3=t3 = q3; +wave_0_per_frame4=t4 = q4; +wave_0_per_frame5=t5 = q5; +wave_0_per_frame6=t6 = q6; +wave_0_per_frame7=t8 = .07; +wave_0_per_frame8=t7 = 1; +wave_0_per_point1=t7 = -t7; +wave_0_per_point2=pi = asin(1); +wave_0_per_point3=n = 180; +wave_0_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02; +wave_0_per_point5=my_x = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4+(t7+1)*t8); +wave_0_per_point6=my_y = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4+(t7+1)*t8); +wave_0_per_point7=my_z = sin(sample*pi*n)*rd; +wave_0_per_point8= +wave_0_per_point9= +wave_0_per_point10= +wave_0_per_point11=d = 1.4; // makes the perspective impact +wave_0_per_point12=zoom = 0.85; +wave_0_per_point13= +wave_0_per_point14=w1 = q12; +wave_0_per_point15=w2 = q13; +wave_0_per_point16=w3 = q14; +wave_0_per_point17= +wave_0_per_point18=x1 = cos(w1)*my_x + sin(w1)*my_y; +wave_0_per_point19=y1 = -sin(w1)*my_x + cos(w1)*my_y; +wave_0_per_point20=z1 = my_z; +wave_0_per_point21= +wave_0_per_point22=x2 = cos(w2)*x1 + sin(w2)*z1; +wave_0_per_point23=z2 = -sin(w2)*x1 + cos(w2)*z1; +wave_0_per_point24=y2 = y1; +wave_0_per_point25= +wave_0_per_point26=y3 = cos(w3)*y2 + sin(w3)*z2; +wave_0_per_point27=z3 = -sin(w3)*y2 + cos(w3)*z2; +wave_0_per_point28=x3 = x2; +wave_0_per_point29= +wave_0_per_point30=// perspective calculation +wave_0_per_point31= +wave_0_per_point32=l = sqrt(x3*x3 + y3*y3); +wave_0_per_point33=w = atan2(x3,y3); +wave_0_per_point34=p = tan(asin(1) + atan2(d+z3,l)); +wave_0_per_point35=d = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d)); +wave_0_per_point36= +wave_0_per_point37=my_x = zoom*sin(w)*p; +wave_0_per_point38=my_y = zoom*cos(w)*p; +wave_0_per_point39= +wave_0_per_point40=x = 0.5 + my_x; +wave_0_per_point41=y = 0.5 + my_y; +wave_0_per_point42= +wave_0_per_point43=g = -z3*0.8 + 0.55; +wave_0_per_point44=//b = min(1,max(0,b))*0.5; +wave_0_per_point45=//r = 1-b*2 +wave_0_per_point46=//b = (1 - r)*0.1; +wave_0_per_point47=//a = 7/(d*16) - 0.1; +wavecode_1_enabled=0 +wavecode_1_samples=445 +wavecode_1_sep=4 +wavecode_1_bSpectrum=1 +wavecode_1_bUseDots=1 +wavecode_1_bDrawThick=1 +wavecode_1_bAdditive=1 +wavecode_1_scaling=100.00000 +wavecode_1_smoothing=1.00000 +wavecode_1_r=1.000 +wavecode_1_g=1.000 +wavecode_1_b=1.000 +wavecode_1_a=0.990 +wave_1_init1=t2 = 0; +wave_1_init2=t3 = 0; +wave_1_init3=t4 = 0; +wave_1_init4=ab = 1; +wave_1_per_frame1=t1 = q1; +wave_1_per_frame2=t2 = q2; +wave_1_per_frame3=t3 = q3; +wave_1_per_frame4=t4 = q4; +wave_1_per_frame5=t5 = q5; +wave_1_per_frame6=t6 = q6; +wave_1_per_frame7=t8 = .09; +wave_1_per_frame8=t7 = 1; +wave_1_per_point1=t7 = -t7; +wave_1_per_point2=pi = asin(1); +wave_1_per_point3=n = 160; +wave_1_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02; +wave_1_per_point5=xx = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4); +wave_1_per_point6=yy = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4); +wave_1_per_point7=zz = sin(sample*pi*n)*rd; +wave_1_per_point8= +wave_1_per_point9=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_1_per_point10=d1 = 1; +wave_1_per_point11=xx = xx*d1; +wave_1_per_point12=yy = yy*d1; +wave_1_per_point13=zz = zz*d1; +wave_1_per_point14= +wave_1_per_point15=w = -d*t5; +wave_1_per_point16=s1 = sin(t2*1+w); +wave_1_per_point17=s2 = sin(t3*1+w); +wave_1_per_point18=s3 = sin(t4*1+w); +wave_1_per_point19=c1 = cos(t2*1+w); +wave_1_per_point20=c2 = cos(t3*1+w); +wave_1_per_point21=c3 = cos(t4*1+w); +wave_1_per_point22= +wave_1_per_point23=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_1_per_point24=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_1_per_point25=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_1_per_point26= +wave_1_per_point27=a = 0.75; +wave_1_per_point28=zoom = 0.5*atan2(a,a+z);//0.5*(1/(z+a)); +wave_1_per_point29=x = 0.5 + zoom*x1; +wave_1_per_point30=y = 0.5 + zoom*y1; +wave_1_per_point31= +wave_1_per_point32=pi3 = 3.1415*2*0.3333; +wave_1_per_point33=t = sample*pi*4-2*time; +wave_1_per_point34=c=1.6; +wave_1_per_point35=r = sin(t)*c; +wave_1_per_point36= +wave_1_per_point37=g = sin(t+pi3)*c; +wave_1_per_point38= +wave_1_per_point39=b = sin(t-pi3)*c; +wave_1_per_point40= +wave_1_per_point41=j = 0.71; +wave_1_per_point42=//r = 0.5+xx*j; +wave_1_per_point43=//g = 0.5+yy*j; +wave_1_per_point44=//b = 0.5+zz*j; +wave_1_per_point45= +wave_1_per_point46=r = if(above(r,1),1,r); +wave_1_per_point47=r = if(below(r,0),0,r); +wave_1_per_point48=g = if(above(g,1),1,g); +wave_1_per_point49=g = if(below(g,0),0,g); +wave_1_per_point50=b = if(above(b,1),1,b); +wave_1_per_point51=b = if(below(b,0),0,b); +wave_1_per_point52=a = 1-(z + a)/2; +wave_1_per_point53= +wavecode_2_enabled=0 +wavecode_2_samples=512 +wavecode_2_sep=4 +wavecode_2_bSpectrum=0 +wavecode_2_bUseDots=0 +wavecode_2_bDrawThick=0 +wavecode_2_bAdditive=0 +wavecode_2_scaling=0.09348 +wavecode_2_smoothing=1.00000 +wavecode_2_r=1.000 +wavecode_2_g=1.000 +wavecode_2_b=1.000 +wavecode_2_a=1.000 +wave_2_init1=t2 = 0; +wave_2_init2=t3 = 0; +wave_2_init3=t4 = 0; +wave_2_init4=ab = 1; +wave_2_per_frame1=t1 = q1; +wave_2_per_frame2=t2 = q2; +wave_2_per_frame3=t3 = q3; +wave_2_per_frame4=t4 = q4; +wave_2_per_frame5=t5 = q5; +wave_2_per_frame6=t6 = q6; +wave_2_per_point1=s8 = sample*383; +wave_2_per_point2= +wave_2_per_point3=s = 100;//0.3; +wave_2_per_point4=xx = sin(sample*s);//((sample*343)%7 - 3.5)*s; +wave_2_per_point5=zz = cos(sample*s);//((sample*49)%7 - 3.5)*s; +wave_2_per_point6=yy = (sample-0.5);//((sample*7)%7 - 3.5)*s; +wave_2_per_point7= +wave_2_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_2_per_point9=d1 = 1/d; +wave_2_per_point10=xx = xx*d1; +wave_2_per_point11=yy = yy*d1; +wave_2_per_point12=zz = zz*d1; +wave_2_per_point13= +wave_2_per_point14=w = 1+0*(d)*(t6);//(sample*sin(time*0.3)*0.02-1); +wave_2_per_point15=s1 = sin(t2*w); +wave_2_per_point16=s2 = sin(t3*w); +wave_2_per_point17=s3 = sin(t4*w); +wave_2_per_point18=c1 = cos(t2*w); +wave_2_per_point19=c2 = cos(t3*w); +wave_2_per_point20=c3 = cos(t4*w); +wave_2_per_point21= +wave_2_per_point22=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_2_per_point23=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_2_per_point24=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_2_per_point25= +wave_2_per_point26=a = 2; +wave_2_per_point27=zoom = 0.3*atan2(a-z,a);//0.5*(1/(z+a)); +wave_2_per_point28=x = 0.5 + zoom*x1; +wave_2_per_point29=y = 0.5 + zoom*y1; +wave_2_per_point30= +wave_2_per_point31=pi3 = 3.1415*2*0.3333; +wave_2_per_point32=t = -z*13+t5*20; +wave_2_per_point33=c = 10; +wave_2_per_point34=r = sin(t)*c; +wave_2_per_point35= +wave_2_per_point36=g = sin(t+pi3)*c; +wave_2_per_point37= +wave_2_per_point38=b = sin(t-pi3)*c; +wave_2_per_point39= +wave_2_per_point40=j = 0.71; +wave_2_per_point41=//r = 0.5+xx*j; +wave_2_per_point42=//g = 0.5+yy*j; +wave_2_per_point43=//b = 0.5+zz*j; +wave_2_per_point44= +wave_2_per_point45=r = if(above(r,1),1,r); +wave_2_per_point46=r = if(below(r,0),0,r); +wave_2_per_point47=g = if(above(g,1),1,g); +wave_2_per_point48=g = if(below(g,0),0,g); +wave_2_per_point49=b = if(above(b,1),1,b); +wave_2_per_point50=b = if(below(b,0),0,b); +wave_2_per_point51= +wave_2_per_point52= +wave_2_per_point53=a = sigmoid(-z,10)*1.0+0.0; +wavecode_3_enabled=0 +wavecode_3_samples=484 +wavecode_3_sep=4 +wavecode_3_bSpectrum=0 +wavecode_3_bUseDots=1 +wavecode_3_bDrawThick=0 +wavecode_3_bAdditive=0 +wavecode_3_scaling=9.94125 +wavecode_3_smoothing=1.00000 +wavecode_3_r=1.000 +wavecode_3_g=1.000 +wavecode_3_b=1.000 +wavecode_3_a=1.000 +wave_3_init1=t2 = 0; +wave_3_init2=t3 = 0; +wave_3_init3=t4 = 0; +wave_3_init4=ab = 1; +wave_3_per_frame1=t1 = q1; +wave_3_per_frame2=t2 = q2; +wave_3_per_frame3=t3 = q3; +wave_3_per_frame4=t4 = q4; +wave_3_per_frame5=t5 = q5; +wave_3_per_frame6=t6 = q6; +wave_3_per_point1=s8 = sample*383; +wave_3_per_point2= +wave_3_per_point3=s = 0.25; +wave_3_per_point4=xx = ((sample*(465))%15 - 8)*s*2; +wave_3_per_point5=yy = ((sample*31)%31 - 16)*s; +wave_3_per_point6=zz = 0; +wave_3_per_point7= +wave_3_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_3_per_point9=w = 1; +wave_3_per_point10= +wave_3_per_point11=s1 = sin(t2*1); +wave_3_per_point12=s2 = sin(t3*0); +wave_3_per_point13=s3 = sin(t4*1); +wave_3_per_point14=c1 = cos(t2*1); +wave_3_per_point15=c2 = cos(t3*0); +wave_3_per_point16=c3 = cos(t4*1); +wave_3_per_point17= +wave_3_per_point18= +wave_3_per_point19=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_3_per_point20=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_3_per_point21=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_3_per_point22= +wave_3_per_point23=a = 500; +wave_3_per_point24=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a)); +wave_3_per_point25=x = 0.5 + zoom*x1; +wave_3_per_point26=y = 0.5 + zoom*y1; +wave_3_per_point27= +wave_3_per_point28=pi3 = 3.1415*2*0.3333; +wave_3_per_point29=t = -z*5+t5; +wave_3_per_point30=c = 10; +wave_3_per_point31=r = sin(t)*c; +wave_3_per_point32= +wave_3_per_point33=g = sin(t+pi3)*c; +wave_3_per_point34= +wave_3_per_point35=b = sin(t-pi3)*c; +wave_3_per_point36= +wave_3_per_point37=j = 0.71; +wave_3_per_point38=//r = 0.5+xx*j; +wave_3_per_point39=//g = 0.5+yy*j; +wave_3_per_point40=//b = 0.5+zz*j; +wave_3_per_point41= +wave_3_per_point42=r = if(above(r,1),1,r); +wave_3_per_point43=r = if(below(r,0),0,r); +wave_3_per_point44=g = if(above(g,1),1,g); +wave_3_per_point45=g = if(below(g,0),0,g); +wave_3_per_point46=b = if(above(b,1),1,b); +wave_3_per_point47=b = if(below(b,0),0,b); +wave_3_per_point48= +wave_3_per_point49= +wave_3_per_point50=a = sigmoid(z,5); +shapecode_0_enabled=1 +shapecode_0_sides=100 +shapecode_0_additive=1 +shapecode_0_thickOutline=0 +shapecode_0_textured=0 +shapecode_0_num_inst=1 +shapecode_0_x=0.140 +shapecode_0_y=0.130 +shapecode_0_rad=0.20388 +shapecode_0_ang=0.62830 +shapecode_0_tex_ang=0.00000 +shapecode_0_tex_zoom=1.17257 +shapecode_0_r=1.000 +shapecode_0_g=0.000 +shapecode_0_b=0.000 +shapecode_0_a=1.000 +shapecode_0_r2=0.000 +shapecode_0_g2=1.000 +shapecode_0_b2=0.000 +shapecode_0_a2=0.000 +shapecode_0_border_r=1.000 +shapecode_0_border_g=1.000 +shapecode_0_border_b=1.000 +shapecode_0_border_a=0.000 +shape_0_init1=vx = 0; +shape_0_init2=vy = 0; +shapecode_1_enabled=0 +shapecode_1_sides=100 +shapecode_1_additive=0 +shapecode_1_thickOutline=1 +shapecode_1_textured=1 +shapecode_1_num_inst=1 +shapecode_1_x=0.500 +shapecode_1_y=0.500 +shapecode_1_rad=0.40271 +shapecode_1_ang=0.00000 +shapecode_1_tex_ang=0.00000 +shapecode_1_tex_zoom=2.23888 +shapecode_1_r=1.000 +shapecode_1_g=1.000 +shapecode_1_b=1.000 +shapecode_1_a=1.000 +shapecode_1_r2=0.080 +shapecode_1_g2=0.000 +shapecode_1_b2=0.000 +shapecode_1_a2=1.000 +shapecode_1_border_r=1.000 +shapecode_1_border_g=1.000 +shapecode_1_border_b=1.000 +shapecode_1_border_a=0.000 +shapecode_2_enabled=0 +shapecode_2_sides=100 +shapecode_2_additive=0 +shapecode_2_thickOutline=0 +shapecode_2_textured=1 +shapecode_2_num_inst=1 +shapecode_2_x=0.500 +shapecode_2_y=0.500 +shapecode_2_rad=1.21525 +shapecode_2_ang=0.00000 +shapecode_2_tex_ang=2.57611 +shapecode_2_tex_zoom=0.55595 +shapecode_2_r=1.000 +shapecode_2_g=1.000 +shapecode_2_b=1.000 +shapecode_2_a=1.000 +shapecode_2_r2=0.000 +shapecode_2_g2=0.000 +shapecode_2_b2=0.000 +shapecode_2_a2=0.000 +shapecode_2_border_r=1.000 +shapecode_2_border_g=1.000 +shapecode_2_border_b=1.000 +shapecode_2_border_a=0.000 +shapecode_3_enabled=0 +shapecode_3_sides=34 +shapecode_3_additive=0 +shapecode_3_thickOutline=0 +shapecode_3_textured=0 +shapecode_3_num_inst=1 +shapecode_3_x=0.990 +shapecode_3_y=0.990 +shapecode_3_rad=0.02558 +shapecode_3_ang=0.00000 +shapecode_3_tex_ang=0.00000 +shapecode_3_tex_zoom=1.00000 +shapecode_3_r=0.000 +shapecode_3_g=1.000 +shapecode_3_b=0.000 +shapecode_3_a=1.000 +shapecode_3_r2=0.000 +shapecode_3_g2=1.000 +shapecode_3_b2=0.000 +shapecode_3_a2=1.000 +shapecode_3_border_r=1.000 +shapecode_3_border_g=1.000 +shapecode_3_border_b=1.000 +shapecode_3_border_a=0.000 +per_frame_init_1=x1 = 0; +per_frame_init_2=y1 = 0; +per_frame_1=//q1 = 0; +per_frame_2=v = 0.8; +per_frame_3=j1 = j1*0.95 + sqr(bass*4)*v; +per_frame_4=j2 = j2*0.95 + sqr(mid*4)*v; +per_frame_5=j3 = j3*0.95 + sqr(treb*4)*v; +per_frame_6= +per_frame_7=n = n + j1*0.0052; +per_frame_8=n1 = n1 + j2*0.0052; +per_frame_9=n2 = n2 + j3*0.0052; +per_frame_10= +per_frame_11= +per_frame_12=q12 = n*0.01; +per_frame_13=q13 = n1*0.01; +per_frame_14=q14 = n2*0.01; +per_frame_15= +per_frame_16=k = k*0.99 + sqr(mid_att*2); +per_frame_17=q25 = k*0.00; +per_frame_18= +per_frame_19=zoom = 0.995; +per_frame_20=warp = 0; +per_frame_21= +per_frame_22=rot = -0.00; +per_frame_23= +per_frame_24=w = -0.46; +per_frame_25=q21 = sin(w); +per_frame_26=q22 = cos(w); +per_frame_27= +per_frame_28=w = -n*0.001; +per_frame_29=q23 = sin(w); +per_frame_30=q24 = cos(w); +per_frame_31=q29 = n1*0.004; +per_frame_32=q30 = n2*0.004; +per_frame_33= +per_frame_34=//before inversion +per_frame_35=scale = 3; +per_frame_36=angle = (n1-n2)*0.0004; +per_frame_37=translation_x = 0; +per_frame_38=translation_y = 0.02; +per_frame_39= +per_frame_40=//complex inverted +per_frame_41=iscale = 0.2; +per_frame_42=iangle = sin(time*0.1337)*0.04; +per_frame_43=itranslation_u = 0; +per_frame_44=itranslation_v = 0; +per_frame_45= +per_frame_46= +per_frame_47=// the möbius transformation +per_frame_48=// z -> (az+b)/(cz-d); where a,b,c,d are complex numbers and z will be the uv-vector +per_frame_49=// (az+b)/(cz-d) = a/c + mu/(cz+d), with mu = (bc-ad)/c +per_frame_50=// so a/c and mu can be calculated outside of the shader +per_frame_51= +per_frame_52=a_r = cos(angle)*scale; +per_frame_53=a_i = sin(angle)*scale; +per_frame_54=b_r = translation_x; +per_frame_55=b_i = translation_y; +per_frame_56= +per_frame_57=c_r = -cos(iangle)*iscale; +per_frame_58=c_i = -sin(iangle)*iscale; +per_frame_59=d_r = itranslation_u; +per_frame_60=d_i = itranslation_v; +per_frame_61= +per_frame_62=// c^(-1) +per_frame_63=c_inv_r = c_r/(c_r*c_r+c_i*c_i); +per_frame_64=c_inv_i = c_i/(c_r*c_r+c_i*c_i); +per_frame_65= +per_frame_66=// a*c^(-1) +per_frame_67=ac_r = (a_r*c_inv_r - a_i*c_inv_i); +per_frame_68=ac_i = (a_r*c_inv_i - a_i*c_inv_r); +per_frame_69= +per_frame_70=// (bc-ad) +per_frame_71=bcad_r = (b_r*c_r - b_i*c_i)-(a_r*d_r-a_i*d_i); +per_frame_72=bcad_i = (b_r*c_i - b_i*c_r)-(a_r*d_i-a_i*d_r); +per_frame_73= +per_frame_74=// mu*c^(-1) +per_frame_75=q3 = bcad_r*c_inv_r - bcad_i*c_inv_i; +per_frame_76=q4 = bcad_r*c_inv_i - bcad_i*c_inv_r; +per_frame_77= +per_frame_78=q1 = ac_r; +per_frame_79=q2 = ac_i; +per_frame_80= +per_frame_81=q5 = c_r; +per_frame_82=q6 = c_i; +per_frame_83=q7 = d_r; +per_frame_84=q8 = d_i; +per_pixel_1=r = bass/4; +per_pixel_2=cx1 = 0.5+sin(time*0.618)*0.2; +per_pixel_3=cy1 = 0.5+cos(time*1.618)*0.2; +per_pixel_4=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); +per_pixel_5=dir = (bass)*(r*r-d*d)*0.3; +per_pixel_6=x1 = if( above(d,r),0, sin(y-cy1)*dir); +per_pixel_7=y1 = if( above(d,r),0, -sin(x-cx1)*dir); +per_pixel_8= +per_pixel_9= +per_pixel_10=cx1 = 0.5+sin(time*2.618)*0.3; +per_pixel_11=cy1 = 0.5+cos(time*3.14)*0.3; +per_pixel_12=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); +per_pixel_13=dir = -(mid)*(r*r-d*d)*0.3; +per_pixel_14=x2 = if( above(d,r),0, sin(y-cy1)*dir); +per_pixel_15=y2 = if( above(d,r),0, -sin(x-cx1)*dir); +per_pixel_16= +per_pixel_17=cx1 = 0.5+sin(-time*2.618)*0.4; +per_pixel_18=cy1 = 0.5+cos(-time*1.14)*0.4; +per_pixel_19=d = sqrt((x-cx1)*(x-cx1)+(y-cy1)*(y-cy1)); +per_pixel_20=dir = -(treb)*(r*r-d*d)*0.3; +per_pixel_21=x3 = if( above(d,r),0, sin(y-cy1)*dir); +per_pixel_22=y3 = if( above(d,r),0, -sin(x-cx1)*dir); +per_pixel_23= +per_pixel_24=v = 0.4; +per_pixel_25=dx = (x1+x2+x3)*v; +per_pixel_26=dy = (y1+y2+y3)*v; +warp_1=`float1 s,c; +warp_2=` +warp_3=`shader_body +warp_4=`{ +warp_5=`ret = 0; +warp_6=` +warp_7=`// fern fractal on the red channel +warp_8=` +warp_9=`float2 uv0 = uv.yx*4 -float2(3,0); +warp_10=`float c0 = tex2D(sampler_fc_main, uv0).z; // feeded by the spiral +warp_11=` +warp_12=`float2 uv1 = 0.5 + (uv-0.5)*1.15 + float2(-1,1)*0.05; // main arm +warp_13=`float1 c1 = tex2D(sampler_fc_main, uv1).x; +warp_14=` +warp_15=`float2 uv2 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; // upper limb +warp_16=`float1 c2 = tex2D(sampler_fc_main, uv2).x; +warp_17=` +warp_18=`float2 uv3 = float2(1,2) + (float2(1,-1)*uv + float2(0,1) - 0.5)*4; // lower limb +warp_19=`float1 c3 = tex2D(sampler_fc_main, uv3).x; +warp_20=` +warp_21=`ret.x = (c0 + c1 + c2 + c3)*1.075; // composition of the red fractal +warp_22=` +warp_23=`// spiral in the blue channel +warp_24=` +warp_25=`float2 uv4 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; +warp_26=`float1 c4 = tex2D(sampler_fc_main, uv4).x; // feeded by the fern +warp_27=` +warp_28=`s = q21; // sin(w) +warp_29=`c = q22; // cos(w) +warp_30=`float2 scale = 1.05; +warp_31=`float2 uv5 = (uv-0.5)*aspect.xy; +warp_32=` uv5 = scale*float2( c*uv5.x - s*uv5.y, s*uv5.x + c*uv5.y); // rotation +warp_33=` uv5 = 0.5 + uv5*aspect.zw + float2(-0.03,0.03); +warp_34=` +warp_35=`float1 c5 = tex2D(sampler_fc_main, uv5).z; +warp_36=` +warp_37=`ret.z = (c4 + c5)*1.075 - 0.00; +warp_38=` +warp_39=`// mirrored rotated checker in the green channel +warp_40=` +warp_41=`s = q23; // sin(w) +warp_42=`c = q24; // cos(w) +warp_43=` +warp_44=`float2 uv6 = (uv-0.5)*aspect.xy*2.4; +warp_45=` uv6 = scale*float2( c*uv6.x - s*uv6.y, s*uv6.x + c*uv6.y); // rotation +warp_46=` uv6 = 0.5 + uv6*aspect.zw + float2(q29,q30); +warp_47=` +warp_48=` uv6 = 1.0 - abs( frac( uv6 * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code +warp_49=` +warp_50=`float c6 = tex2D(sampler_fc_main,uv6).z; // feeded by the spiral +warp_51=`float c7 = tex2D(sampler_fc_main,uv6).y; +warp_52=` +warp_53=`ret.y = lerp(max(c6,c7-0.15),tex2D(sampler_fc_main,uv_orig).y-0.004,0.3); // motion blur +warp_54=` +warp_55=`} +comp_1=`sampler sampler_paper; +comp_2=`shader_body +comp_3=`{ +comp_4=` +comp_5=`float2 ac = float2(q1,q2); +comp_6=`float2 mu = float2(q3,q4); +comp_7=`float2 c = float2(q5,q6); +comp_8=`float2 d = float2(q7,q8); +comp_9=` +comp_10=`float2 z = (uv-0.5)*aspect.wz; +comp_11=` +comp_12=`// (c*z + d) +comp_13=`float2 czd = float2(z.x*c.x-z.y*c.y,z.x*c.y-z.y*c.x)*aspect.yx + d; +comp_14=`// mu/(cz+d) +comp_15=`float2 moebius = float2( mu.x*czd.x + mu.y*czd.y , mu.y*czd.x-mu.x*czd.y )/(czd.x*czd.x+czd.y*czd.y) + ac; +comp_16=` +comp_17=` d = texsize.zw*4; +comp_18=` float1 dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ).x; +comp_19=` float1 dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ).x; +comp_20=` +comp_21=`moebius = 0.5 + (1.0 - abs( frac( moebius * 0.5 + float2(dx,dy)*.01) * 2 - 1.0 )-0.5)*0.99; +comp_22=` +comp_23=`ret.x = GetPixel(moebius).y; +comp_24=`ret.z = GetPixel(uv).x; +comp_25=`ret.y = GetBlur1(moebius).z; +comp_26=` +comp_27=`ret = tex2d(sampler_paper, moebius); +comp_28=`ret = lerp(ret,float3(-1,-2,1),GetBlur2(uv-float2(dx,dy)*0.02).x*0.4); +comp_29=`ret = lerp(ret,float3(0,-0.1,-0.2),GetBlur2(moebius).z*1.4); +comp_30=`ret = lerp(ret,ret*0.6-0.2,GetPixel(moebius).y*1); +comp_31=`ret = lerp(ret,float3(1.6,0,0.6),GetPixel(moebius).z*0.38); +comp_32=`ret = lerp(ret,float3(2,4,3),GetPixel(uv-float2(dx,dy)*0.012).x*0.2); +comp_33=`//ret = GetPixel(uv); +comp_34=`} |